<?php
/**
 * Created by linzhonghuang.
 * Github: git@github.com:lichtung/Sharina.git
 * Email: 784855684@qq.com
 * Date: 2016/12/11
 * Time: 16:26
 */

namespace application\module\explorer\libs;


use wshore\core\Storage;
use wshore\helper\traits\Singleton;

class Apps extends FileCache
{
    use Singleton;

    function __construct()
    {
        $file = WS_PATH_DATA . '/explorer/apps.php';
        if (!is_file($file)) {
            Storage::write($file, '<?php exit;?>{"qq\u97f3\u4e50":{"type":"url","content":"http:\/\/y.qq.com\/player","group":"music","name":"qq\u97f3\u4e50","desc":"qq\u97f3\u4e50","icon":"qqmusic.png","width":"800","height":"520","simple":0,"resize":1},"\u4e09\u7ef4\u5730\u56fe":{"type":"url","content":"http:\/\/sz.chachaba.com\/api20110914.html","group":"life","name":"\u4e09\u7ef4\u5730\u56fe","desc":"\u4e09\u7ef4\u5730\u56fe","icon":"map.png","width":"800","height":"600","simple":0,"resize":1},"\u5728\u7ebf\u89c6\u9891":{"type":"url","content":"http:\/\/tv.e1951.com\/tv\/index.htm","group":"music","name":"\u5728\u7ebf\u89c6\u9891","desc":"\u5728\u7ebf\u89c6\u9891","icon":"app_s2.png","width":"800","height":"600","simple":0,"resize":1},"linux\u7ec8\u7aef":{"type":"url","content":"http:\/\/bellard.org\/jslinux\/","group":"tools","name":"linux\u7ec8\u7aef","desc":"linux\u7ec8\u7aef","icon":"linux.png","width":"803","height":"546","simple":0,"resize":1},"\u6c34\u679c\u5fcd\u8005":{"type":"url","content":"http:\/\/ucren.com\/demos\/fruit-ninja\/","group":"game","name":"\u6c34\u679c\u5fcd\u8005","desc":"\u6c34\u679c\u5fcd\u8005 html5\u7248","icon":"fruite.jpg","width":"640","height":"565","simple":0,"resize":1},"\u7f8e\u56fe\u79c0\u79c0":{"type":"url","content":"http:\/\/xiuxiu.web.meitu.com\/baidu\/","group":"tools","name":"\u7f8e\u56fe\u79c0\u79c0","desc":"","icon":"meitu.gif","width":"800","height":"570","simple":0,"resize":1},"\u4e2d\u56fd\u8c61\u68cb":{"type":"url","content":"http:\/\/apps2.bdimg.com\/store\/static\/kvt\/bbf372221c50a9aaa35a35ea6ee7c922.swf","group":"game","name":"\u4e2d\u56fd\u8c61\u68cb","desc":"\u4e2d\u56fd\u8c61\u68cb","icon":"xiangqi.jpg","width":"650","height":"502","simple":0,"resize":1},"\u690d\u7269\u5927\u6218\u50f5\u5c38":{"type":"url","content":"http:\/\/apps.bdimg.com\/tools\/popcap\/plantsvszombies\/game.html","group":"game","name":"\u690d\u7269\u5927\u6218\u50f5\u5c38","desc":"","icon":"zhiwu.jpg","width":"538","height":"404","simple":0,"resize":1},"\u6709\u9053\u8bcd\u5178":{"type":"url","content":"http:\/\/dict.youdao.com\/app\/baidu","group":"tools","name":"\u6709\u9053\u8bcd\u5178","desc":"","icon":"youdao.jpg","width":"548","height":"490","simple":0,"resize":1},"\u97f3\u60a6\u53f0":{"type":"url","content":"http:\/\/www.yinyuetai.com\/baidu\/index?bd_user=855814346&bd_sig=cac8830f2b6a731ab596413768b4606b&canvas_pos=platform","group":"movie","name":"\u97f3\u60a6\u53f0","desc":"\u97f3\u60a6\u53f0","icon":"yingyuetai.png","width":"798","height":"450","simple":0,"resize":1},"\u9177\u72d7\u7535\u53f0":{"type":"url","content":"http:\/\/topic.kugou.com\/radio\/baiduNew.htm","group":"music","name":"\u9177\u72d7\u7535\u53f0","desc":"\u9177\u72d7\u7535\u53f0","icon":"kugou_radio.png","width":"554","height":"432","simple":0,"resize":1},"\u641c\u72d0\u5f71\u89c6":{"type":"url","content":"http:\/\/tv.sohu.com\/upload\/sohuapp\/index.html?api_key=9ca7e3cdef8af010b947f4934a427a2c","group":"movie","name":"\u641c\u72d0\u5f71\u89c6","desc":"\u641c\u72d0\u5f71\u89c6","icon":"souhu.jpg","width":"798","height":"583","simple":0,"resize":1},"\u597d\u7167\u7247":{"type":"url","content":"http:\/\/www.haozhaopian.com\/flash\/","group":"tools","name":"\u597d\u7167\u7247","desc":"\u597d\u7167\u7247","icon":"haozhaopian.jpg","width":"775","height":"650","simple":0,"resize":1},"\u683c\u6797\u7ae5\u8bdd":{"type":"url","content":"http:\/\/www.youban.com\/bdapp\/mp3\/geling.html","group":"reader","name":"\u683c\u6797\u7ae5\u8bdd","desc":"\u683c\u6797\u7ae5\u8bdd","icon":"geling.jpg","width":"728","height":"520","simple":0,"resize":1},"\u7f8e\u98df\u5929\u4e0b":{"type":"url","content":"http:\/\/home.meishichina.com\/app2baidu.php","group":"life","name":"\u7f8e\u98df\u5929\u4e0b","desc":"\u7f8e\u98df\u5929\u4e0b\u7f51\u7ad9\u51fa\u54c1\u7684\u4f18\u79c0\u83dc\u8c31\u5927\u5168\uff0c\u7cbe\u7f8e\u7684\u6210\u54c1\u56fe\uff0c\u8fd8\u6709\u8d85\u5b9e\u7528\u7684\u56fe\u6587\u5206\u6b65\u8be6\u89e3","icon":"meishi.png","width":"547","height":"590","simple":0,"resize":1},"pptv\u76f4\u64ad":{"type":"url","content":"http:\/\/app.aplus.pptv.com\/tgapp\/baidu\/live\/main","group":"movie","name":"pptv\u76f4\u64ad","desc":"","icon":"pptv.jpg","width":"798","height":"534","simple":0,"resize":1},"js\u5728\u7ebf\u538b\u7f29":{"type":"url","content":"http:\/\/iapp.sinaapp.com\/webkit\/app.html","group":"others","name":"js\u5728\u7ebf\u538b\u7f29","desc":"js\u5728\u7ebf\u538b\u7f29","icon":"js.png","width":"540","height":"420","simple":0,"resize":1},"ps":{"type":"url","content":"http:\/\/www.webps.cn\/","group":"tools","name":"ps","desc":"ps","icon":"ps.png","width":"800","height":"560","simple":0,"resize":1},"iqiyi\u5f71\u89c6":{"type":"url","content":"http:\/\/www.qiyi.com\/mini\/baidu.html?from115","group":"movie","name":"iqiyi\u5f71\u89c6","desc":"iqiyi\u5f71\u89c6","icon":"iqiyi.png","width":"1000","height":"643","simple":0,"resize":1},"\u867e\u7c73\u7535\u53f0":{"type":"url","content":"http:\/\/kuang.xiami.com\/kuang\/play\/xiamiradio","group":"music","name":"\u867e\u7c73\u7535\u53f0","desc":"\u867e\u7c73\u7535\u53f0","icon":"xiami.jpg","width":"530","height":"282","simple":0,"resize":1},"\u65f6\u949f":{"type":"url","content":"http:\/\/hoorayos.com\/demo\/extapp\/clock\/index.php","group":"tools","name":"\u65f6\u949f","desc":"\u65f6\u949f\u6302\u4ef6","icon":"time.png","width":"140","height":"140","simple":1,"resize":0},"365\u65e5\u5386":{"type":"url","content":"http:\/\/baidu365.duapp.com\/wnl.html?bd_user=855814346&bd_sig=a64e6e262e8cfa1c42dd716617be2102&canvas_pos=platform","group":"life","name":"365\u65e5\u5386","desc":"365\u65e5\u5386","icon":"365.png","width":"544","height":"440","simple":0,"resize":1},"\u8c46\u74e3\u7535\u53f0":{"type":"url","content":"http:\/\/douban.fm\/partner\/qq_plus","group":"music","name":"\u8c46\u74e3\u7535\u53f0","desc":"\u8c46\u74e3\u7535\u53f0","icon":"douban.png","width":"545","height":"460","simple":0,"resize":1},"\u5feb\u9012\u67e5\u8be2":{"type":"url","content":"http:\/\/baidu.kuaidi100.com\/index2.html","group":"tools","name":"\u5feb\u9012\u67e5\u8be2","desc":"","icon":"kuaidi.gif","width":"545","height":"420","simple":0,"resize":1},"\u9ed18\u5bf9\u51b3":{"type":"url","content":"http:\/\/swf.baoku.360.cn\/swf\/20110921\/1\/ball.swf","group":"game","name":"\u9ed18\u5bf9\u51b3","desc":"\u7ecf\u5178\u53f0\u7403","icon":"ball8.png","width":"650","height":"500","simple":0,"resize":1},"kugou":{"type":"url","content":"http:\/\/web.kugou.com\/hao123.html","group":"music","name":"kugou","desc":"\u9177\u72d7","icon":"kugou2.png","width":"740","height":"505","simple":0,"resize":1},"\u5929\u5929\u52a8\u542cFM":{"type":"url","content":"http:\/\/fm.dongting.com","group":"music","name":"\u5929\u5929\u52a8\u542cFM","desc":"\u5929\u5929\u52a8\u542cFM","icon":"ttpod.png","width":"630","height":"530","simple":0,"resize":1},"\u767e\u5ea6\u968f\u5fc3\u542c":{"type":"url","content":"http:\/\/fm.baidu.com\/?embed=hao123","group":"music","name":"\u767e\u5ea6\u968f\u5fc3\u542c","desc":"\u767e\u5ea6\u968f\u5fc3\u542c","icon":"baidu.png","width":"980","height":"550","simple":0,"resize":1},"icloud":{"type":"app","content":"window.open(\"https:\/\/www.icloud.com\/\");","group":"others","name":"icloud","desc":"icloud","icon":"icloud.png","width":"800","height":"600","simple":0,"resize":1},"\u8ba1\u7b97\u5668":{"type":"url","content":"http:\/\/apps2.bdimg.com\/store\/static\/kvt\/3e9b470e8b9fceaa66d46a935b45518e.swf","group":"tools","name":"\u8ba1\u7b97\u5668","desc":"\u8ba1\u7b97\u5668","icon":"calcu.png","width":"538","height":"600","simple":0,"resize":1},"\u5929\u6c14":{"type":"url","content":"http:\/\/hoorayos.com\/demo\/extapp\/weather\/index.php","group":"tools","name":"\u5929\u6c14","desc":"\u5929\u6c14\u9884\u62a5","icon":"weather.png","width":"200","height":"300","simple":1,"resize":0}}');
        }
        parent::__construct($file);
    }
}
